CC = @CC@
LD = @CC@
CFLAGS = @CFLAGS@ @DEFS@ -I@top_srcdir@

all: shell

shell: shell.o nachos_syscall.o
	$(LD) $(CFLAGS) -s -o shell shell.o nachos_syscall.o -lc -lpthread

clean:
	$(RM) -f shell.o nachos_syscall.o shell

distclean: clean
	$(RM) -f Makefile config.h config.log config.status
